import java.sql.SQLOutput;

public class Cat extends Animal{

    public Cat() {
    }

    public Cat(int age, String colour) {
        super(age, colour);
    }

    @Override
    public void eat(String s){
        System.out.println(getAge() + "岁的" + getColour() + "颜色的" + getAnimalType()+ "眯着眼睛侧着头吃" + s);
    }

    public void catchMice(){
        System.out.println("逮老鼠");
    }

    @Override
    public void eat() {

    }
}
